(function() {
  var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
templates['global-messages.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, buffer = "\r\n<div class=\"alert alert-"
    + escapeExpression(((helper = helpers.kind || (depth0 && depth0.kind)),(typeof helper === functionType ? helper.call(depth0, {"name":"kind","hash":{},"data":data}) : helper)))
    + " alert-dismissible\" role=\"alert\">\r\n  <button type=\"button\" class=\"close\" data-dismiss=\"alert\"><span aria-hidden=\"true\">&times;</span><span class=\"sr-only\">Close</span></button>\r\n  <strong>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, (depth0 && depth0.title), {"name":"loc","hash":{},"data":data})))
    + ":</strong> "
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, (depth0 && depth0.message), {"name":"loc","hash":{},"data":data})));
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.context), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n</div>\r\n";
},"2":function(depth0,helpers,partials,data) {
  var helper, functionType="function", escapeExpression=this.escapeExpression;
  return " ["
    + escapeExpression(((helper = helpers.context || (depth0 && depth0.context)),(typeof helper === functionType ? helper.call(depth0, {"name":"context","hash":{},"data":data}) : helper)))
    + "]";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1;
  stack1 = helpers.each.call(depth0, (depth0 && depth0.messages), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { return stack1; }
  else { return ''; }
  },"useData":true});
templates['deck-create.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var helper, functionType="function", escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing;
  return "\r\n				<tr data-card-id=\""
    + escapeExpression(((helper = helpers.id || (depth0 && depth0.id)),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper)))
    + "\" data-card-image-base=\""
    + escapeExpression(((helper = helpers.imageBase || (depth0 && depth0.imageBase)),(typeof helper === functionType ? helper.call(depth0, {"name":"imageBase","hash":{},"data":data}) : helper)))
    + "\">\r\n					<td>"
    + escapeExpression(((helper = helpers.name || (depth0 && depth0.name)),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper)))
    + "</td>\r\n					<td style=\"text-align: center;\"><img src=\""
    + escapeExpression((helper = helpers.factionImagePath || (depth0 && depth0.factionImagePath) || helperMissing,helper.call(depth0, (depth0 && depth0.faction), {"name":"factionImagePath","hash":{},"data":data})))
    + "\" /></td>\r\n					<td><a class=\"btn btn-default\" href=\""
    + escapeExpression(((helper = helpers.rootUrl || (depth0 && depth0.rootUrl)),(typeof helper === functionType ? helper.call(depth0, {"name":"rootUrl","hash":{},"data":data}) : helper)))
    + "new/"
    + escapeExpression(((helper = helpers.id || (depth0 && depth0.id)),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper)))
    + "-"
    + escapeExpression(((helper = helpers.techName || (depth0 && depth0.techName)),(typeof helper === functionType ? helper.call(depth0, {"name":"techName","hash":{},"data":data}) : helper)))
    + "\"><span class=\"glyphicon glyphicon-pencil\"></span></a></td>\r\n					<td>"
    + escapeExpression(((helper = helpers.attack || (depth0 && depth0.attack)),(typeof helper === functionType ? helper.call(depth0, {"name":"attack","hash":{},"data":data}) : helper)))
    + "</td>\r\n					<td>"
    + escapeExpression(((helper = helpers.hitPoints || (depth0 && depth0.hitPoints)),(typeof helper === functionType ? helper.call(depth0, {"name":"hitPoints","hash":{},"data":data}) : helper)))
    + "</td>\r\n				</tr>\r\n				";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "\r\n<div class=\"row\">\r\n	<div class=\"col-md-6\">\r\n		<div class=\"actions-container\"></div>\r\n		<table class=\"table table-striped faction-image-container-md\">\r\n			<thead>\r\n				<tr>\r\n					<td>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.name", {"name":"loc","hash":{},"data":data})))
    + "</td>\r\n					<td style=\"text-align: center;\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.faction", {"name":"loc","hash":{},"data":data})))
    + "</td>\r\n					<td>&nbsp;</td>\r\n					<td>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.attack.sh", {"name":"loc","hash":{},"data":data})))
    + "</td>\r\n					<td>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.hp.sh", {"name":"loc","hash":{},"data":data})))
    + "</td>\r\n				</tr>\r\n			</thead>\r\n			<tbody>\r\n				";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.warlords), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n			</tbody>\r\n		</table>\r\n	</div>\r\n	<div class=\"col-md-6\">\r\n		<div class=\"card-container\"></div>\r\n	</div>\r\n</div>\r\n";
},"useData":true});
templates['deck-view.hbs'] = template({"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, functionType="function", escapeExpression=this.escapeExpression;
  return "<div class=\"row\">	\r\n	<div class=\"col-md-5\">\r\n		<div class=\"actions-container\"></div>\r\n		<h4>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.deck)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</h4>\r\n		<div class=\"mg-container\"></div>\r\n	</div>	\r\n	<div class=\"col-md-7\"></div>\r\n</div>\r\n";
},"useData":true});
templates['deck-edit.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var functionType="function", escapeExpression=this.escapeExpression;
  return "							\r\n				<label class=\"btn btn-default active\" data-faction=\""
    + escapeExpression((typeof depth0 === functionType ? depth0.apply(depth0) : depth0))
    + "\" data-toggle=\"tooltip\" title=\""
    + escapeExpression((typeof depth0 === functionType ? depth0.apply(depth0) : depth0))
    + "\"><div class=\"icon-faction icon-"
    + escapeExpression((typeof depth0 === functionType ? depth0.apply(depth0) : depth0))
    + "\"></div></label>\r\n				";
},"3":function(depth0,helpers,partials,data) {
  var helper, functionType="function", escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing;
  return "\r\n				<label class=\"btn btn-default active type-"
    + escapeExpression(((helper = helpers.code || (depth0 && depth0.code)),(typeof helper === functionType ? helper.call(depth0, {"name":"code","hash":{},"data":data}) : helper)))
    + " marker\" data-type=\""
    + escapeExpression(((helper = helpers.code || (depth0 && depth0.code)),(typeof helper === functionType ? helper.call(depth0, {"name":"code","hash":{},"data":data}) : helper)))
    + "\" data-toggle=\"tooltip\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, (depth0 && depth0.message), {"name":"loc","hash":{},"data":data})))
    + "\"><span>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, (depth0 && depth0.messageShort), {"name":"loc","hash":{},"data":data})))
    + "</span></label>\r\n				";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function", buffer = "\r\n<div class=\"row\">\r\n	<div class=\"col-md-4 col-lg-4\">\r\n		<div class=\"actions-container\"></div>\r\n		<hr />\r\n		<div class=\"deck-info-container row\">\r\n			<div class=\"col-sm-6\">\r\n				<a href=\""
    + escapeExpression((helper = helpers.cardUrl || (depth0 && depth0.cardUrl) || helperMissing,helper.call(depth0, ((stack1 = ((stack1 = (depth0 && depth0.deck)),stack1 == null || stack1 === false ? stack1 : stack1.warlord)),stack1 == null || stack1 === false ? stack1 : stack1.id), {"name":"cardUrl","hash":{},"data":data})))
    + "\" target=\"_blank\"><img src=\""
    + escapeExpression((helper = helpers.cardImagePath || (depth0 && depth0.cardImagePath) || helperMissing,helper.call(depth0, ((stack1 = (depth0 && depth0.deck)),stack1 == null || stack1 === false ? stack1 : stack1.warlordId), {"name":"cardImagePath","hash":{},"data":data})))
    + "\" class=\"card-sm\" /></a>\r\n			</div>\r\n			<div class=\"col-sm-6\">\r\n				<strong>"
    + escapeExpression(((stack1 = ((stack1 = ((stack1 = (depth0 && depth0.deck)),stack1 == null || stack1 === false ? stack1 : stack1.warlord)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</strong>\r\n				<br />\r\n				"
    + escapeExpression(((stack1 = ((stack1 = ((stack1 = (depth0 && depth0.deck)),stack1 == null || stack1 === false ? stack1 : stack1.warlord)),stack1 == null || stack1 === false ? stack1 : stack1.trait)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\r\n				<br />\r\n				<br />\r\n				"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.cardsQuantity", {"name":"loc","hash":{},"data":data})))
    + ": <span id=\"deckTotalQuantity\"></span>\r\n				<br />\r\n				"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.cardsCost", {"name":"loc","hash":{},"data":data})))
    + ": <span id=\"deckTotalCost\"></span>\r\n			</div>\r\n		</div>		\r\n		<div class=\"mg-container\"></div>\r\n		<hr />\r\n		<div class=\"info-container\">\r\n			<div class=\"form-group\">\r\n				<label for=\"deckName\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.name", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n				<input class=\"form-control\" id=\"deckName\" type=\"text\"placeholder=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.deckName", {"name":"loc","hash":{},"data":data})))
    + "\" value=\""
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.deck)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\" />\r\n			</div>\r\n			<div class=\"form-group\">\r\n				<label for=\"deckDescription\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.description", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n				<textarea class=\"form-control\" id=\"deckDescription\" placeholder=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.deckDescription", {"name":"loc","hash":{},"data":data})))
    + "\" rows=\"5\">"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.deck)),stack1 == null || stack1 === false ? stack1 : stack1.description)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</textarea>\r\n			</div>\r\n		</div>\r\n	</div>\r\n	<div class=\"col-md-8 col-lg-8\">\r\n		<div class=\"members-list-filter-container\">\r\n			<div class=\"btn-group btn-group-lg btn-group-layout\">\r\n				<label class=\"btn btn-default\" data-layout=\"list\"><span class=\"glyphicon glyphicon-align-justify\"></span></label>\r\n				<label class=\"btn btn-default\" data-layout=\"grid-6\"><span class=\"glyphicon glyphicon-th\"></span></label>\r\n				<label class=\"btn btn-default\" data-layout=\"grid-4\"><span class=\"glyphicon glyphicon-th-large\"></span></label>\r\n				<label class=\"btn btn-default\" data-layout=\"grid-3\"><span class=\"glyphicon glyphicon-th\"></span></label>\r\n				<label class=\"btn btn-default\" data-layout=\"grid-2\"><span class=\"glyphicon glyphicon-th-large\"></span></label>\r\n			</div>\r\n			<div class=\"btn-group btn-group-filter filter-faction\">\r\n				";
  stack1 = helpers.each.call(depth0, ((stack1 = (depth0 && depth0.filter)),stack1 == null || stack1 === false ? stack1 : stack1.factions), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n			</div>\r\n			<div class=\"btn-group btn-group-filter filter-type\">\r\n				";
  stack1 = helpers.each.call(depth0, ((stack1 = (depth0 && depth0.filter)),stack1 == null || stack1 === false ? stack1 : stack1.types), {"name":"each","hash":{},"fn":this.program(3, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n			</div>\r\n			<label id=\"filterTrigger\" class=\"btn btn-lg btn-default btn-standard\"><span class=\"glyphicon glyphicon-filter\"></span></label>\r\n			<label id=\"configTrigger\" class=\"btn btn-lg btn-default btn-standard\"><span class=\"glyphicon glyphicon-cog\"></span></label>\r\n\r\n			<input id=\"search\" type=\"text\" class=\"form-control\" placeholder=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.nameOrTraitOrKeyword", {"name":"loc","hash":{},"data":data})))
    + "\" style=\"margin-top: 10px;\">\r\n\r\n			\r\n		</div>\r\n		<div class=\"members-list-container\"></div>		\r\n	</div>\r\n	<div class=\"hidden-xs hidden-sm hidden-md hidden-lg \">\r\n		<div id=\"costSlider\" class=\"slider\" data-slider-min=\"0\" data-slider-max=\"9\" />\r\n	</div>\r\n</div>\r\n";
},"useData":true});
templates['deck-list.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing;
  return "\r\n		<tr>\r\n			<td>"
    + escapeExpression(((helper = helpers.name || (depth0 && depth0.name)),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper)))
    + "</td>\r\n			<td style=\"text-align: center;\"><img src=\""
    + escapeExpression((helper = helpers.factionImagePath || (depth0 && depth0.factionImagePath) || helperMissing,helper.call(depth0, ((stack1 = (depth0 && depth0.warlord)),stack1 == null || stack1 === false ? stack1 : stack1.faction), {"name":"factionImagePath","hash":{},"data":data})))
    + "\" /></td>\r\n			<td>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.warlord)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</td>\r\n			<td>\r\n				<a class=\"btn btn-default\" href=\""
    + escapeExpression(((helper = helpers.rootUrl || (depth0 && depth0.rootUrl)),(typeof helper === functionType ? helper.call(depth0, {"name":"rootUrl","hash":{},"data":data}) : helper)))
    + escapeExpression(((helper = helpers.id || (depth0 && depth0.id)),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper)))
    + "-"
    + escapeExpression(((helper = helpers.techName || (depth0 && depth0.techName)),(typeof helper === functionType ? helper.call(depth0, {"name":"techName","hash":{},"data":data}) : helper)))
    + "\"><span class=\"glyphicon glyphicon-eye-open\"></span></a>\r\n				<a class=\"btn btn-default\" href=\""
    + escapeExpression(((helper = helpers.rootUrl || (depth0 && depth0.rootUrl)),(typeof helper === functionType ? helper.call(depth0, {"name":"rootUrl","hash":{},"data":data}) : helper)))
    + "edit/"
    + escapeExpression(((helper = helpers.id || (depth0 && depth0.id)),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper)))
    + "-"
    + escapeExpression(((helper = helpers.techName || (depth0 && depth0.techName)),(typeof helper === functionType ? helper.call(depth0, {"name":"techName","hash":{},"data":data}) : helper)))
    + "\"><span class=\"glyphicon glyphicon-pencil\"></span></a>\r\n			</td>\r\n			<td>"
    + escapeExpression(((helper = helpers.createDate || (depth0 && depth0.createDate)),(typeof helper === functionType ? helper.call(depth0, {"name":"createDate","hash":{},"data":data}) : helper)))
    + "</td>\r\n			<td>"
    + escapeExpression(((helper = helpers.modifyDate || (depth0 && depth0.modifyDate)),(typeof helper === functionType ? helper.call(depth0, {"name":"modifyDate","hash":{},"data":data}) : helper)))
    + "</td>\r\n		</tr>\r\n		";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<div class=\"actions-container\"></div>\r\n<table class=\"table table-striped faction-image-container-md\">\r\n	<thead>\r\n		<tr>\r\n			<td>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.name", {"name":"loc","hash":{},"data":data})))
    + "</td>\r\n			<td>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.faction", {"name":"loc","hash":{},"data":data})))
    + "</td>\r\n			<td>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.warlord", {"name":"loc","hash":{},"data":data})))
    + "</td>\r\n			<td>&nbsp;</td>\r\n			<td>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.createDate", {"name":"loc","hash":{},"data":data})))
    + "</td>\r\n			<td>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.modifyDate", {"name":"loc","hash":{},"data":data})))
    + "</td>\r\n		</tr>\r\n	</thead>\r\n	<tbody>\r\n		";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.decks), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n	</tbody>\r\n</table>\r\n";
},"useData":true});
templates['deck-export.hbs'] = template({"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return "<div class=\"modal fade\">\r\n	<div class=\"modal-dialog modal-lg\">\r\n		<div class=\"modal-content\">\r\n			<div class=\"modal-header\">\r\n				<button type=\"button\" class=\"close\" data-dismiss=\"modal\"><span aria-hidden=\"true\">&times;</span><span class=\"sr-only\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.close", {"name":"loc","hash":{},"data":data})))
    + "</span></button>\r\n				<h4 class=\"modal-title\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.exportDeck", {"name":"loc","hash":{},"data":data})))
    + "</h4>\r\n			</div>\r\n			<div class=\"modal-body\">\r\n				<div class=\"row\">\r\n					<div class=\"mg-control-group col-md-4\">\r\n						<label><strong>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.groupBy", {"name":"loc","hash":{},"data":data})))
    + ":</strong></label>\r\n						<div class=\"btn-group btn-group-sm\">\r\n							<label class=\"btn btn-default\" data-group-key=\"typeDisplay\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.type", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n							<label class=\"btn btn-default\" data-group-key=\"memberQuantity\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.quantity", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n							<label class=\"btn btn-default\" data-group-key=\"setName\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.set", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n							<label class=\"btn btn-default\" data-group-key=\"factionDisplay\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.faction", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n						</div>\r\n					</div>\r\n					<div class=\"mg-control-sort col-md-2\">\r\n						<label><strong>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.sortBy", {"name":"loc","hash":{},"data":data})))
    + ":</strong></label>\r\n						<div class=\"btn-group btn-group-sm\">\r\n							<label class=\"btn btn-default\" data-sort-key=\"name\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.name", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n							<label class=\"btn btn-default\" data-sort-key=\"memberQuantity\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.quantity", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n						</div>\r\n					</div>\r\n				</div>\r\n				<ul class=\"nav nav-tabs\" role=\"tablist\">\r\n					<li class=\"active\"><a href=\"#exportPlain\" role=\"tab\" data-toggle=\"tab\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.exportPlain", {"name":"loc","hash":{},"data":data})))
    + "</a></li>\r\n					<li><a href=\"#exportBBCode\" role=\"tab\" data-toggle=\"tab\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.exportBBCode", {"name":"loc","hash":{},"data":data})))
    + "</a></li>\r\n					<li><a href=\"#exportOctgn\" role=\"tab\" data-toggle=\"tab\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.exportOctgn", {"name":"loc","hash":{},"data":data})))
    + "</a></li>\r\n				</ul>\r\n\r\n				<div class=\"tab-content\" style=\"padding-top: 20px;\">\r\n					<div class=\"tab-pane active\" id=\"exportPlain\"><textarea class=\"form-control\" rows=\"20\">Under construction.</textarea></div>\r\n					<div class=\"tab-pane\" id=\"exportBBCode\"><textarea class=\"form-control\" rows=\"20\">Under construction.</textarea></div>\r\n					<div class=\"tab-pane\" id=\"exportOctgn\">Under construction.</div>\r\n				</div>\r\n			</div>\r\n			<div class=\"modal-footer\">\r\n				<button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\" id=\"exportCloseButton\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.close", {"name":"loc","hash":{},"data":data})))
    + "</button>\r\n				<button type=\"button\" class=\"btn btn-primary\" data-dismiss=\"modal\" id=\"exportCopyAndCloseButton\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.copyToClipboardAndClose", {"name":"loc","hash":{},"data":data})))
    + "</button>\r\n			</div>\r\n		</div>\r\n	</div>\r\n</div>\r\n";
},"useData":true});
templates['deck-export-bbcode.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, buffer = "[b]";
  stack1 = ((helper = helpers.title || (depth0 && depth0.title)),(typeof helper === functionType ? helper.call(depth0, {"name":"title","hash":{},"data":data}) : helper));
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += " ("
    + escapeExpression(((helper = helpers.quantity || (depth0 && depth0.quantity)),(typeof helper === functionType ? helper.call(depth0, {"name":"quantity","hash":{},"data":data}) : helper)))
    + ")[/b]\r\n";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.members), {"name":"each","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n";
},"2":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, buffer = escapeExpression(((helper = helpers.quantity || (depth0 && depth0.quantity)),(typeof helper === functionType ? helper.call(depth0, {"name":"quantity","hash":{},"data":data}) : helper)))
    + "x [url=http://www.conquestdb.com"
    + escapeExpression((helper = helpers.cardUrl || (depth0 && depth0.cardUrl) || helperMissing,helper.call(depth0, (depth0 && depth0.card), {"name":"cardUrl","hash":{},"data":data})))
    + "]";
  stack1 = ((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1);
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "[/url]\r\n";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function", buffer = "[url=http://www.conquestdb.com"
    + escapeExpression((helper = helpers.cardUrl || (depth0 && depth0.cardUrl) || helperMissing,helper.call(depth0, (depth0 && depth0.warlord), {"name":"cardUrl","hash":{},"data":data})))
    + "]";
  stack1 = ((stack1 = ((stack1 = (depth0 && depth0.warlord)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1);
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "[/url]\r\n\r\n";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.membersGroups), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "Created with [url]www.conquestdb.com[/url]";
},"useData":true});
templates['deck-export-plain.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, buffer = "";
  stack1 = ((helper = helpers.title || (depth0 && depth0.title)),(typeof helper === functionType ? helper.call(depth0, {"name":"title","hash":{},"data":data}) : helper));
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += " ("
    + escapeExpression(((helper = helpers.quantity || (depth0 && depth0.quantity)),(typeof helper === functionType ? helper.call(depth0, {"name":"quantity","hash":{},"data":data}) : helper)))
    + ")\r\n";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.members), {"name":"each","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n";
},"2":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, buffer = escapeExpression(((helper = helpers.quantity || (depth0 && depth0.quantity)),(typeof helper === functionType ? helper.call(depth0, {"name":"quantity","hash":{},"data":data}) : helper)))
    + "x ";
  stack1 = ((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1);
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, functionType="function", buffer = "";
  stack1 = ((stack1 = ((stack1 = (depth0 && depth0.warlord)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1);
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n\r\n";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.membersGroups), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "Created with www.conquestdb.com";
},"useData":true});
templates['deck-actions.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, buffer = "\r\n";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.decksave), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.deckdelete), {"name":"if","hash":{},"fn":this.program(4, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.deckedit), {"name":"if","hash":{},"fn":this.program(6, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.deckview), {"name":"if","hash":{},"fn":this.program(8, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.decknew), {"name":"if","hash":{},"fn":this.program(10, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.deckexport), {"name":"if","hash":{},"fn":this.program(15, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.decklist), {"name":"if","hash":{},"fn":this.program(17, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n";
},"2":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return "<a id=\"deckSave\" class=\"btn btn-default btn-success\" data-toggle=\"tooltip\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.save", {"name":"loc","hash":{},"data":data})))
    + "\"><span class=\"glyphicon glyphicon-ok\"></span></a>";
},"4":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return "<a id=\"deckDelete\" class=\"btn btn-default btn-danger\" data-toggle=\"tooltip\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.delete", {"name":"loc","hash":{},"data":data})))
    + "\"><span class=\"glyphicon glyphicon-remove\"></span></a>";
},"6":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
  return "<a class=\"btn btn-default\" data-toggle=\"tooltip\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.edit", {"name":"loc","hash":{},"data":data})))
    + "\" href=\""
    + escapeExpression(((helper = helpers.rootUrl || (depth0 && depth0.rootUrl)),(typeof helper === functionType ? helper.call(depth0, {"name":"rootUrl","hash":{},"data":data}) : helper)))
    + "edit/"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.deckedit)),stack1 == null || stack1 === false ? stack1 : stack1.id)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "-"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.deckedit)),stack1 == null || stack1 === false ? stack1 : stack1.techName)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\"><span class=\"glyphicon glyphicon-pencil\"></span></a>";
},"8":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
  return "<a class=\"btn btn-default\" data-toggle=\"tooltip\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.view", {"name":"loc","hash":{},"data":data})))
    + "\" href=\""
    + escapeExpression(((helper = helpers.rootUrl || (depth0 && depth0.rootUrl)),(typeof helper === functionType ? helper.call(depth0, {"name":"rootUrl","hash":{},"data":data}) : helper)))
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.deckview)),stack1 == null || stack1 === false ? stack1 : stack1.id)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "-"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.deckview)),stack1 == null || stack1 === false ? stack1 : stack1.techName)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\"><span class=\"glyphicon glyphicon-eye-open\"></span></a>";
},"10":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, buffer = "<a class=\"btn btn-default\" data-toggle=\"tooltip\" title=\"";
  stack1 = helpers.unless.call(depth0, ((stack1 = (depth0 && depth0.decknew)),stack1 == null || stack1 === false ? stack1 : stack1.showText), {"name":"unless","hash":{},"fn":this.program(11, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\" href=\""
    + escapeExpression(((helper = helpers.rootUrl || (depth0 && depth0.rootUrl)),(typeof helper === functionType ? helper.call(depth0, {"name":"rootUrl","hash":{},"data":data}) : helper)))
    + "new\"><span class=\"glyphicon glyphicon-plus\"></span>";
  stack1 = helpers['if'].call(depth0, ((stack1 = (depth0 && depth0.decknew)),stack1 == null || stack1 === false ? stack1 : stack1.showText), {"name":"if","hash":{},"fn":this.program(13, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "</a>";
},"11":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.create", {"name":"loc","hash":{},"data":data})));
  },"13":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return "&nbsp;"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.createDeck", {"name":"loc","hash":{},"data":data})));
},"15":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return "<a id=\"deckExport\" class=\"btn btn-default\" data-toggle=\"tooltip\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.export", {"name":"loc","hash":{},"data":data})))
    + "\"><span class=\"glyphicon glyphicon-export\"></span></a>";
},"17":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, buffer = "<a class=\"btn btn-default\" data-toggle=\"tooltip\" title=\"";
  stack1 = helpers.unless.call(depth0, ((stack1 = (depth0 && depth0.decklist)),stack1 == null || stack1 === false ? stack1 : stack1.showText), {"name":"unless","hash":{},"fn":this.program(18, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\" href=\""
    + escapeExpression(((helper = helpers.rootUrl || (depth0 && depth0.rootUrl)),(typeof helper === functionType ? helper.call(depth0, {"name":"rootUrl","hash":{},"data":data}) : helper)))
    + "\"><span class=\"glyphicon glyphicon-align-justify\"></span>";
  stack1 = helpers['if'].call(depth0, ((stack1 = (depth0 && depth0.decklist)),stack1 == null || stack1 === false ? stack1 : stack1.showText), {"name":"if","hash":{},"fn":this.program(20, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "</a>";
},"18":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.myDecks", {"name":"loc","hash":{},"data":data})));
  },"20":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return "&nbsp;"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.myDecks", {"name":"loc","hash":{},"data":data})));
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1;
  stack1 = helpers['with'].call(depth0, (depth0 && depth0.actions), {"name":"with","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { return stack1; }
  else { return ''; }
  },"useData":true});
templates['deck-members-list.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, helperMissing=helpers.helperMissing, buffer = "\r\n		<tr class=\"members-list-item\" data-card-id=\""
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.id)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\">\r\n			<td>\r\n				<div class=\"btn-group btn-group-qty\">\r\n					";
  stack1 = (helper = helpers['for'] || (depth0 && depth0['for']) || helperMissing,helper.call(depth0, 0, (depth0 && depth0.availableQuantity), 1, {"name":"for","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n				</div>\r\n			</td>\r\n			<td><a href=\""
    + escapeExpression((helper = helpers.cardUrl || (depth0 && depth0.cardUrl) || helperMissing,helper.call(depth0, (depth0 && depth0.card), {"name":"cardUrl","hash":{},"data":data})))
    + "\" target=\"_blank\" data-image-base=\""
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\">"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</a></td>\r\n			<td class=\"type-"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.type)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + " marker\">"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.typeDisplay)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</td>\r\n			<td style=\"text-align: center;\"><img src=\""
    + escapeExpression((helper = helpers.factionImagePath || (depth0 && depth0.factionImagePath) || helperMissing,helper.call(depth0, ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.faction), {"name":"factionImagePath","hash":{},"data":data})))
    + "\" /></td>\r\n			<td>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.cost)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</td>\r\n			<td>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.shield)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</td>\r\n			<td>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.command)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</td>\r\n			<td>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.attack)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</td>\r\n			<td>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.hitPoints)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</td>\r\n		</tr>\r\n		";
},"2":function(depth0,helpers,partials,data) {
  var functionType="function", escapeExpression=this.escapeExpression;
  return "\r\n					<label class=\"btn btn-default\">"
    + escapeExpression((typeof depth0 === functionType ? depth0.apply(depth0) : depth0))
    + "</label>\r\n					";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<table class=\"table table-striped faction-image-container-md\">\r\n	<thead>\r\n		<tr>\r\n			<td><span>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.quantity", {"name":"loc","hash":{},"data":data})))
    + "</span></td>\r\n			<td><span>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.name", {"name":"loc","hash":{},"data":data})))
    + "</span></td>\r\n			<td><span>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.type", {"name":"loc","hash":{},"data":data})))
    + "</span></td>\r\n			<td><span>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.faction", {"name":"loc","hash":{},"data":data})))
    + "</span></td>\r\n			<td><span data-toggle=\"tooltip\" data-placement=\"top\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.cost", {"name":"loc","hash":{},"data":data})))
    + "\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.cost.sh", {"name":"loc","hash":{},"data":data})))
    + "</span></td>\r\n			<td><span data-toggle=\"tooltip\" data-placement=\"top\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.shieldIcons", {"name":"loc","hash":{},"data":data})))
    + "\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.shieldIcons.sh", {"name":"loc","hash":{},"data":data})))
    + "</span></td>\r\n			<td><span data-toggle=\"tooltip\" data-placement=\"top\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.commandIcons", {"name":"loc","hash":{},"data":data})))
    + "\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.commandIcons.sh", {"name":"loc","hash":{},"data":data})))
    + "</span></td>			\r\n			<td><span data-toggle=\"tooltip\" data-placement=\"top\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.attack", {"name":"loc","hash":{},"data":data})))
    + "\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.attack.sh", {"name":"loc","hash":{},"data":data})))
    + "</span></td>\r\n			<td><span data-toggle=\"tooltip\" data-placement=\"top\" title=\""
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.hp", {"name":"loc","hash":{},"data":data})))
    + "\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.hp.sh", {"name":"loc","hash":{},"data":data})))
    + "</span></td>\r\n		</tr>\r\n	</thead>\r\n	<tbody>\r\n		";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.members), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n	</tbody>\r\n</table>\r\n";
},"useData":true});
templates['deck-members-grid-2.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function", buffer = "\r\n<table>\r\n	<tbody>\r\n		<tr>\r\n			<td><a href=\""
    + escapeExpression((helper = helpers.cardUrl || (depth0 && depth0.cardUrl) || helperMissing,helper.call(depth0, (depth0 && depth0.card), {"name":"cardUrl","hash":{},"data":data})))
    + "\" target=\"_blank\" data-image-base=\""
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\" href><img src=\""
    + escapeExpression((helper = helpers.cardImagePath || (depth0 && depth0.cardImagePath) || helperMissing,helper.call(depth0, ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase), {"name":"cardImagePath","hash":{},"data":data})))
    + "\" class=\"card-sm\" /></a></td>\r\n			<td>\r\n				<div class=\"btn-group btn-group-qty\">\r\n					";
  stack1 = (helper = helpers['for'] || (depth0 && depth0['for']) || helperMissing,helper.call(depth0, 0, (depth0 && depth0.availableQuantity), 1, {"name":"for","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n				</div>\r\n				<div>\r\n					<strong>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</strong>\r\n					<br />\r\n					"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.trait)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\r\n				</div>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n";
},"2":function(depth0,helpers,partials,data) {
  var functionType="function", escapeExpression=this.escapeExpression;
  return "\r\n					<label class=\"btn btn-default\">"
    + escapeExpression((typeof depth0 === functionType ? depth0.apply(depth0) : depth0))
    + "</label>\r\n					";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing;
  stack1 = (helper = helpers.grid || (depth0 && depth0.grid) || helperMissing,helper.call(depth0, (depth0 && depth0.members), 2, {"name":"grid","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { return stack1; }
  else { return ''; }
  },"useData":true});
templates['deck-members-grid-3.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function", buffer = "\r\n<table>\r\n	<tbody>\r\n		<tr>\r\n			<td><a href=\""
    + escapeExpression((helper = helpers.cardUrl || (depth0 && depth0.cardUrl) || helperMissing,helper.call(depth0, (depth0 && depth0.card), {"name":"cardUrl","hash":{},"data":data})))
    + "\" target=\"_blank\" data-image-base=\""
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\"><img src=\""
    + escapeExpression((helper = helpers.cardImagePath || (depth0 && depth0.cardImagePath) || helperMissing,helper.call(depth0, ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase), {"name":"cardImagePath","hash":{},"data":data})))
    + "\" class=\"card-xs\" /></a></td>\r\n			<td>\r\n				<div class=\"btn-group btn-group-qty\">\r\n					";
  stack1 = (helper = helpers['for'] || (depth0 && depth0['for']) || helperMissing,helper.call(depth0, 0, (depth0 && depth0.availableQuantity), 1, {"name":"for","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n				</div>\r\n				<div>\r\n					<small>\r\n						<strong>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</strong>\r\n						<br />\r\n						"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.trait)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\r\n					</small>\r\n				</div>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n";
},"2":function(depth0,helpers,partials,data) {
  var functionType="function", escapeExpression=this.escapeExpression;
  return "\r\n					<label class=\"btn btn-default\">"
    + escapeExpression((typeof depth0 === functionType ? depth0.apply(depth0) : depth0))
    + "</label>\r\n					";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing;
  stack1 = (helper = helpers.grid || (depth0 && depth0.grid) || helperMissing,helper.call(depth0, (depth0 && depth0.members), 3, {"name":"grid","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { return stack1; }
  else { return ''; }
  },"useData":true});
templates['deck-members-grid-4.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function", buffer = "\r\n<div class=\"btn-group btn-group-qty\">\r\n";
  stack1 = (helper = helpers['for'] || (depth0 && depth0['for']) || helperMissing,helper.call(depth0, 0, (depth0 && depth0.availableQuantity), 1, {"name":"for","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "	\r\n</div>\r\n<a href=\""
    + escapeExpression((helper = helpers.cardUrl || (depth0 && depth0.cardUrl) || helperMissing,helper.call(depth0, (depth0 && depth0.card), {"name":"cardUrl","hash":{},"data":data})))
    + "\" target=\"_blank\" data-image-base=\""
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\"><img src=\""
    + escapeExpression((helper = helpers.cardImagePath || (depth0 && depth0.cardImagePath) || helperMissing,helper.call(depth0, ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase), {"name":"cardImagePath","hash":{},"data":data})))
    + "\" class=\"card-sm\" style=\"margin-bottom: 5px;\" /></a>\r\n<strong>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</strong>\r\n";
},"2":function(depth0,helpers,partials,data) {
  var functionType="function", escapeExpression=this.escapeExpression;
  return "\r\n	<label class=\"btn btn-default\">"
    + escapeExpression((typeof depth0 === functionType ? depth0.apply(depth0) : depth0))
    + "</label>\r\n";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing;
  stack1 = (helper = helpers.grid || (depth0 && depth0.grid) || helperMissing,helper.call(depth0, (depth0 && depth0.members), 4, {"name":"grid","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { return stack1; }
  else { return ''; }
  },"useData":true});
templates['deck-members-grid-6.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function", buffer = "\r\n<div class=\"btn-group btn-group-qty\">\r\n";
  stack1 = (helper = helpers['for'] || (depth0 && depth0['for']) || helperMissing,helper.call(depth0, 0, (depth0 && depth0.availableQuantity), 1, {"name":"for","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "	\r\n</div>\r\n<a href=\""
    + escapeExpression((helper = helpers.cardUrl || (depth0 && depth0.cardUrl) || helperMissing,helper.call(depth0, (depth0 && depth0.card), {"name":"cardUrl","hash":{},"data":data})))
    + "\" target=\"_blank\" data-image-base=\""
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\"><img src=\""
    + escapeExpression((helper = helpers.cardImagePath || (depth0 && depth0.cardImagePath) || helperMissing,helper.call(depth0, ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase), {"name":"cardImagePath","hash":{},"data":data})))
    + "\" class=\"card-xs\" style=\"margin-bottom: 5px;\"/></a>\r\n<small><strong>"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</strong></small>\r\n";
},"2":function(depth0,helpers,partials,data) {
  var functionType="function", escapeExpression=this.escapeExpression;
  return "\r\n	<label class=\"btn btn-default\">"
    + escapeExpression((typeof depth0 === functionType ? depth0.apply(depth0) : depth0))
    + "</label>\r\n";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing;
  stack1 = (helper = helpers.grid || (depth0 && depth0.grid) || helperMissing,helper.call(depth0, (depth0 && depth0.members), 6, {"name":"grid","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { return stack1; }
  else { return ''; }
  },"useData":true});
templates['members-groups.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, buffer = "\r\n	<div class=\"col-md-6\">\r\n		<div class=\"mg\">\r\n			<span class=\"mg-title\">"
    + escapeExpression(((helper = helpers.title || (depth0 && depth0.title)),(typeof helper === functionType ? helper.call(depth0, {"name":"title","hash":{},"data":data}) : helper)))
    + "&nbsp;("
    + escapeExpression(((helper = helpers.quantity || (depth0 && depth0.quantity)),(typeof helper === functionType ? helper.call(depth0, {"name":"quantity","hash":{},"data":data}) : helper)))
    + ")</span>\r\n			<ul>\r\n				";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.members), {"name":"each","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n			</ul>\r\n		</div>\r\n	</div>\r\n	";
},"2":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression;
  return "\r\n				<li>"
    + escapeExpression(((helper = helpers.quantity || (depth0 && depth0.quantity)),(typeof helper === functionType ? helper.call(depth0, {"name":"quantity","hash":{},"data":data}) : helper)))
    + "x&nbsp;<a data-image-base=\""
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\">"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</a></li>\r\n				";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<div class=\"row\">\r\n	<div class=\"col-md-12 mg-header\">\r\n		<div class=\"row\">\r\n			<div class=\"mg-control-group col-md-7\">\r\n				<label><strong>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.groupBy", {"name":"loc","hash":{},"data":data})))
    + ":</strong></label>\r\n				<div class=\"btn-group btn-group-xs\">\r\n					<label class=\"btn btn-default\" data-group-key=\"typeDisplay\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.type", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n					<label class=\"btn btn-default\" data-group-key=\"memberQuantity\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.quantity", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n					<label class=\"btn btn-default\" data-group-key=\"setName\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.set", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n					<label class=\"btn btn-default\" data-group-key=\"factionDisplay\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.faction", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n				</div>\r\n				\r\n			</div>\r\n			<div class=\"mg-control-sort col-md-5\">\r\n				<label><strong>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.sortBy", {"name":"loc","hash":{},"data":data})))
    + ":</strong></label>\r\n				<div class=\"btn-group btn-group-xs\">\r\n					<label class=\"btn btn-default\" data-sort-key=\"name\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.name", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n					<label class=\"btn btn-default\" data-sort-key=\"memberQuantity\">"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.quantity", {"name":"loc","hash":{},"data":data})))
    + "</label>\r\n				</div>\r\n				\r\n			</div>\r\n		</div>\r\n	</div>\r\n	";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.membersGroups), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n</div>";
},"useData":true});
templates['members-group.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, buffer = "\r\n	<span class=\"mg-title\">"
    + escapeExpression(((helper = helpers.title || (depth0 && depth0.title)),(typeof helper === functionType ? helper.call(depth0, {"name":"title","hash":{},"data":data}) : helper)))
    + "&nbsp;("
    + escapeExpression(((helper = helpers.count || (depth0 && depth0.count)),(typeof helper === functionType ? helper.call(depth0, {"name":"count","hash":{},"data":data}) : helper)))
    + ")</span>\r\n	<ul>\r\n		";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.members), {"name":"each","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n	</ul>\r\n	";
},"2":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression;
  return "\r\n			<li>"
    + escapeExpression(((helper = helpers.quantity || (depth0 && depth0.quantity)),(typeof helper === functionType ? helper.call(depth0, {"name":"quantity","hash":{},"data":data}) : helper)))
    + "x&nbsp;<a href=\"/\" data-image-base=\""
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.imageBase)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "\">"
    + escapeExpression(((stack1 = ((stack1 = (depth0 && depth0.card)),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
    + "</a></li>\r\n		";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, buffer = "<div>\r\n	";
  stack1 = helpers['with'].call(depth0, (depth0 && depth0.membersGroup), {"name":"with","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n</div>";
},"useData":true});
templates['deck-config.hbs'] = template({"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return "<div id=\"configContent\">\r\n	<ul class=\"radio-group\">\r\n		<li class=\"no-wrap\"><input type=\"radio\" name=\"csQuantity\" value=\"1\">1&nbsp;"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.coreSet", {"name":"loc","hash":{},"data":data})))
    + "</li>\r\n		<li class=\"no-wrap\"><input type=\"radio\" name=\"csQuantity\" value=\"2\">2&nbsp;"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.coreSets", {"name":"loc","hash":{},"data":data})))
    + "</li>\r\n		<li class=\"no-wrap\"><input type=\"radio\" name=\"csQuantity\" value=\"3\">3&nbsp;"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.coreSets", {"name":"loc","hash":{},"data":data})))
    + "</li>\r\n	</ul>\r\n	<a id=\"configApply\" class=\"btn btn-default btn-primary\"><span class=\"glyphicon glyphicon-ok\"></span></a>\r\n	<a id=\"configCancel\" class=\"btn btn-default\"><span class=\"glyphicon glyphicon-remove\"></span></a>\r\n</div>";
},"useData":true});
templates['deck-filter.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, buffer = "\r\n		<li><input type=\"checkbox\" value=\""
    + escapeExpression(((helper = helpers.techName || (depth0 && depth0.techName)),(typeof helper === functionType ? helper.call(depth0, {"name":"techName","hash":{},"data":data}) : helper)))
    + "\" ";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.released), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += ">"
    + escapeExpression(((helper = helpers.name || (depth0 && depth0.name)),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper)))
    + "\r\n		";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.nodes), {"name":"if","hash":{},"fn":this.program(4, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n		</li>\r\n	";
},"2":function(depth0,helpers,partials,data) {
  return "checked=\"checked\"";
  },"4":function(depth0,helpers,partials,data) {
  var stack1, buffer = "\r\n			<ul class=\"tree-node\">\r\n			";
  stack1 = helpers.each.call(depth0, (depth0 && depth0.nodes), {"name":"each","hash":{},"fn":this.program(5, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n			</ul>\r\n		";
},"5":function(depth0,helpers,partials,data) {
  var stack1, helper, functionType="function", escapeExpression=this.escapeExpression, buffer = "\r\n				<li><input type=\"checkbox\" value=\""
    + escapeExpression(((helper = helpers.techName || (depth0 && depth0.techName)),(typeof helper === functionType ? helper.call(depth0, {"name":"techName","hash":{},"data":data}) : helper)))
    + "\" ";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.released), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + ">"
    + escapeExpression(((helper = helpers.name || (depth0 && depth0.name)),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper)))
    + "</li>\r\n			";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, buffer = "<div id=\"filterContent\">\r\n	<ul class=\"tree-node\">\r\n	";
  stack1 = helpers.each.call(depth0, ((stack1 = (depth0 && depth0.tree)),stack1 == null || stack1 === false ? stack1 : stack1.nodes), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "		\r\n	</ul>\r\n	<a id=\"filterApply\" class=\"btn btn-default btn-primary\"><span class=\"glyphicon glyphicon-ok\"></span></a>\r\n	<a id=\"filterCancel\" class=\"btn btn-default\"><span class=\"glyphicon glyphicon-remove\"></span></a>\r\n</div>";
},"useData":true});
templates['card-view.hbs'] = template({"1":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function", buffer = "\r\n	<div class=\"col-md-3 col-md-offset-2\">\r\n		<img src=\""
    + escapeExpression((helper = helpers.cardImagePath || (depth0 && depth0.cardImagePath) || helperMissing,helper.call(depth0, (depth0 && depth0.imageBase), {"name":"cardImagePath","hash":{},"data":data})))
    + "\" class=\"card-image\" />\r\n	</div>\r\n	<div class=\"col-md-5 card-info\">\r\n		<div class=\"row row-dense card-info-header\">\r\n			<div class=\"col-md-3 text-center\">\r\n				<img src=\""
    + escapeExpression((helper = helpers.factionImagePathLg || (depth0 && depth0.factionImagePathLg) || helperMissing,helper.call(depth0, (depth0 && depth0.faction), {"name":"factionImagePathLg","hash":{},"data":data})))
    + "\" class=\"faction-image\" />\r\n			</div>\r\n			<div class=\"col-md-9\">\r\n				<h3><strong>"
    + escapeExpression(((helper = helpers.name || (depth0 && depth0.name)),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper)))
    + "</strong>&nbsp;<small>"
    + escapeExpression(((helper = helpers.typeDisplay || (depth0 && depth0.typeDisplay)),(typeof helper === functionType ? helper.call(depth0, {"name":"typeDisplay","hash":{},"data":data}) : helper)))
    + "</small></h3>\r\n				<h5><strong>"
    + escapeExpression(((helper = helpers.trait || (depth0 && depth0.trait)),(typeof helper === functionType ? helper.call(depth0, {"name":"trait","hash":{},"data":data}) : helper)))
    + "</strong></h5>\r\n			</div>			\r\n		</div>\r\n\r\n		<div class=\"row card-info-content\">\r\n			<div class=\"col-md-12\">\r\n				<dl class=\"dl-horizontal\">\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.set", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.setName || (depth0 && depth0.setName)),(typeof helper === functionType ? helper.call(depth0, {"name":"setName","hash":{},"data":data}) : helper)))
    + "</dd>\r\n					<br />\r\n				";
  stack1 = (helper = helpers.ifSmart || (depth0 && depth0.ifSmart) || helperMissing,helper.call(depth0, (depth0 && depth0.cost), {"name":"ifSmart","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n				";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.shield), {"name":"if","hash":{},"fn":this.program(4, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n				";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.command), {"name":"if","hash":{},"fn":this.program(6, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n				";
  stack1 = (helper = helpers.ifSmart || (depth0 && depth0.ifSmart) || helperMissing,helper.call(depth0, (depth0 && depth0.attack), {"name":"ifSmart","hash":{},"fn":this.program(8, data),"inverse":this.noop,"data":data}));
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n				";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.hitPoints), {"name":"if","hash":{},"fn":this.program(10, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n				";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.startingHandSize), {"name":"if","hash":{},"fn":this.program(12, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n				";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.startingResources), {"name":"if","hash":{},"fn":this.program(14, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n				";
  stack1 = helpers.unless.call(depth0, (depth0 && depth0.startingHandSize), {"name":"unless","hash":{},"fn":this.program(16, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "\r\n					<br />\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.number", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.number || (depth0 && depth0.number)),(typeof helper === functionType ? helper.call(depth0, {"name":"number","hash":{},"data":data}) : helper)))
    + "</dd>\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.quantity", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.quantity || (depth0 && depth0.quantity)),(typeof helper === functionType ? helper.call(depth0, {"name":"quantity","hash":{},"data":data}) : helper)))
    + "</dd>\r\n				";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.illustrator), {"name":"if","hash":{},"fn":this.program(21, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n				</dl>\r\n			</div>\r\n		</div>\r\n	</div>\r\n	";
},"2":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
  return "		\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.cost", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.cost || (depth0 && depth0.cost)),(typeof helper === functionType ? helper.call(depth0, {"name":"cost","hash":{},"data":data}) : helper)))
    + "</dd>\r\n				";
},"4":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
  return "\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.shieldIcons", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.shield || (depth0 && depth0.shield)),(typeof helper === functionType ? helper.call(depth0, {"name":"shield","hash":{},"data":data}) : helper)))
    + "</dd>\r\n				";
},"6":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
  return "\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.commandIcons", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.command || (depth0 && depth0.command)),(typeof helper === functionType ? helper.call(depth0, {"name":"command","hash":{},"data":data}) : helper)))
    + "</dd>\r\n				";
},"8":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
  return "\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.attack", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.attack || (depth0 && depth0.attack)),(typeof helper === functionType ? helper.call(depth0, {"name":"attack","hash":{},"data":data}) : helper)))
    + "</dd>\r\n				";
},"10":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
  return "\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.hp", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.hitPoints || (depth0 && depth0.hitPoints)),(typeof helper === functionType ? helper.call(depth0, {"name":"hitPoints","hash":{},"data":data}) : helper)))
    + "</dd>\r\n				";
},"12":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
  return "\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.startingHandSize", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.startingHandSize || (depth0 && depth0.startingHandSize)),(typeof helper === functionType ? helper.call(depth0, {"name":"startingHandSize","hash":{},"data":data}) : helper)))
    + "</dd>\r\n				";
},"14":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
  return "\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.startingResources", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.startingResources || (depth0 && depth0.startingResources)),(typeof helper === functionType ? helper.call(depth0, {"name":"startingResources","hash":{},"data":data}) : helper)))
    + "</dd>\r\n				";
},"16":function(depth0,helpers,partials,data) {
  var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.unique", {"name":"loc","hash":{},"data":data})))
    + ":</dt>				\r\n					<dd>";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.unique), {"name":"if","hash":{},"fn":this.program(17, data),"inverse":this.program(19, data),"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "</dd>\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.loyal", {"name":"loc","hash":{},"data":data})))
    + ":</dt>				\r\n					<dd>";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.loyal), {"name":"if","hash":{},"fn":this.program(17, data),"inverse":this.program(19, data),"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  buffer += "</dd>		\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.signatureSquad", {"name":"loc","hash":{},"data":data})))
    + ":</dt>				\r\n					<dd>";
  stack1 = helpers['if'].call(depth0, (depth0 && depth0.warlordId), {"name":"if","hash":{},"fn":this.program(17, data),"inverse":this.program(19, data),"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "</dd>\r\n				";
},"17":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.yes", {"name":"loc","hash":{},"data":data})));
  },"19":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
  return escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "core.no", {"name":"loc","hash":{},"data":data})));
  },"21":function(depth0,helpers,partials,data) {
  var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
  return "\r\n					<dt>"
    + escapeExpression((helper = helpers.loc || (depth0 && depth0.loc) || helperMissing,helper.call(depth0, "card.illustrator", {"name":"loc","hash":{},"data":data})))
    + ":</dt>\r\n					<dd>"
    + escapeExpression(((helper = helpers.illustrator || (depth0 && depth0.illustrator)),(typeof helper === functionType ? helper.call(depth0, {"name":"illustrator","hash":{},"data":data}) : helper)))
    + "</dd>\r\n				";
},"compiler":[5,">= 2.0.0"],"main":function(depth0,helpers,partials,data) {
  var stack1, buffer = "<div class=\"row card-view\">\r\n	";
  stack1 = helpers['with'].call(depth0, (depth0 && depth0.card), {"name":"with","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
  if(stack1 || stack1 === 0) { buffer += stack1; }
  return buffer + "\r\n</div>\r\n";
},"useData":true});
})();